
import  request from '@/utils/axios/index.js'
const api_name ='/system/user'

export const loginApi = (data)=>{
    return request.post({
        url:'/system/user/login',
        data
    })
}

export const logOutApi = ()=>{
    return request.post(
        {
            url:`${api_name}/logout`
        }
    )
}